package models

// https://gorm.io/zh_CN/docs/models.html

type AppUser struct {
	UserID      int64  `gorm:"primaryKey;autoIncrement;not null"`
	RealName    string `gorm:"type:varchar(36); not null;"`
	NickName    string `gorm:"type:varchar(36); not null;"`
	UserNumber  string `gorm:"type:varchar(11); null;"`
	LoginEnable int64  `gorm:"type(int);not null; default:1;"`

	BaseModel
}

func (AppUser) TableName() string {
	return "app_user"
}
